using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using GRPCDemo.DataBase.Entities;

namespace GRPCDemo.Models
{
    public class User
    {
        public TUser Data;

        public User(TUser user)
        {
            this.Data = user;
            this.UID = user.UID;
            this.Name = user.Name;
            this.Level = user.Level;
        }

        public string UID { get; set; }

        public string Name { get; set; }

        public int Level { get; set; }
    }
}
